﻿using System.Diagnostics;

namespace 中介者模式
{
    public class ConcreteClooeague2: Colleague
    {
        public ConcreteClooeague2(Mediator mediator) : base(mediator)
        {
        }
        public void Send(string message)
        {
            Mediator.Send(message,this);
        }
        public void Notify(string message)
        {
            Debug.WriteLine("同事2 得到信息：" + message);
        }
    }
}
